home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMSmartCardEvent.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  3KB  |  102 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMSmartCardEvent.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMSmartCardEvent_h__
  6. #define __gen_nsIDOMSmartCardEvent_h__
  7.  
  8.  
  9. #ifndef __gen_nsIDOMEvent_h__
  10. #include "nsIDOMEvent.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17.  
  18. /* starting interface:    nsIDOMSmartCardEvent */
  19. #define NS_IDOMSMARTCARDEVENT_IID_STR "52bdc7ca-a934-4a40-a2e2-ac83a70b4019"
  20.  
  21. #define NS_IDOMSMARTCARDEVENT_IID \
  22.   {0x52bdc7ca, 0xa934, 0x4a40, \
  23.     { 0xa2, 0xe2, 0xac, 0x83, 0xa7, 0x0b, 0x40, 0x19 }}
  24.  
  25. class NS_NO_VTABLE nsIDOMSmartCardEvent : public nsIDOMEvent {
  26.  public: 
  27.  
  28.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMSMARTCARDEVENT_IID)
  29.  
  30.   /* readonly attribute DOMString tokenName; */
  31.   NS_IMETHOD GetTokenName(nsAString & aTokenName) = 0;
  32.  
  33.   /* [noscript] void Init (in nsIDOMEvent event); */
  34.   NS_IMETHOD Init(nsIDOMEvent *event) = 0;
  35.  
  36. };
  37.  
  38. /* Use this macro when declaring classes that implement this interface. */
  39. #define NS_DECL_NSIDOMSMARTCARDEVENT \
  40.   NS_IMETHOD GetTokenName(nsAString & aTokenName); \
  41.   NS_IMETHOD Init(nsIDOMEvent *event); 
  42.  
  43. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  44. #define NS_FORWARD_NSIDOMSMARTCARDEVENT(_to) \
  45.   NS_IMETHOD GetTokenName(nsAString & aTokenName) { return _to GetTokenName(aTokenName); } \
  46.   NS_IMETHOD Init(nsIDOMEvent *event) { return _to Init(event); } 
  47.  
  48. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  49. #define NS_FORWARD_SAFE_NSIDOMSMARTCARDEVENT(_to) \
  50.   NS_IMETHOD GetTokenName(nsAString & aTokenName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTokenName(aTokenName); } \
  51.   NS_IMETHOD Init(nsIDOMEvent *event) { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(event); } 
  52.  
  53. #if 0
  54. /* Use the code below as a template for the implementation class for this interface. */
  55.  
  56. /* Header file */
  57. class nsDOMSmartCardEvent : public nsIDOMSmartCardEvent
  58. {
  59. public:
  60.   NS_DECL_ISUPPORTS
  61.   NS_DECL_NSIDOMSMARTCARDEVENT
  62.  
  63.   nsDOMSmartCardEvent();
  64.  
  65. private:
  66.   ~nsDOMSmartCardEvent();
  67.  
  68. protected:
  69.   /* additional members */
  70. };
  71.  
  72. /* Implementation file */
  73. NS_IMPL_ISUPPORTS1(nsDOMSmartCardEvent, nsIDOMSmartCardEvent)
  74.  
  75. nsDOMSmartCardEvent::nsDOMSmartCardEvent()
  76. {
  77.   /* member initializers and constructor code */
  78. }
  79.  
  80. nsDOMSmartCardEvent::~nsDOMSmartCardEvent()
  81. {
  82.   /* destructor code */
  83. }
  84.  
  85. /* readonly attribute DOMString tokenName; */
  86. NS_IMETHODIMP nsDOMSmartCardEvent::GetTokenName(nsAString & aTokenName)
  87. {
  88.     return NS_ERROR_NOT_IMPLEMENTED;
  89. }
  90.  
  91. /* [noscript] void Init (in nsIDOMEvent event); */
  92. NS_IMETHODIMP nsDOMSmartCardEvent::Init(nsIDOMEvent *event)
  93. {
  94.     return NS_ERROR_NOT_IMPLEMENTED;
  95. }
  96.  
  97. /* End of implementation class template. */
  98. #endif
  99.  
  100.  
  101. #endif /* __gen_nsIDOMSmartCardEvent_h__ */
  102.